package com.yuda.operationcenter.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yuda.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("参考资质申请")
public class OperTake {
    @Excel(name = "id")
    @ApiModelProperty("id")
    private Integer id;

    @Excel(name = "学校名称")
    @ApiModelProperty("学校名称")
    private String schoolName;

    @Excel(name = "省份名称")
    @ApiModelProperty("省份名称")
    private String provinceName;

    @Excel(name = "城市名称")
    @ApiModelProperty("城市名称")
    private String cityName;

    @Excel(name = "联系人")
    @ApiModelProperty("联系人")
    private String contactPerson;

    @Excel(name = "联系电话")
    @ApiModelProperty("联系电话")
    private String contactPhone;

    @Excel(name = "参报考试的名称")
    @ApiModelProperty("参报考试的名称")
    private String examName;

    @Excel(name = "参考人数")
    @ApiModelProperty("参考人数")
    private Integer numberExaminees;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "申请时间")
    @ApiModelProperty("申请时间")
    private Date applyTime;

    @Excel(name = "申请资质的图片链接")
    @ApiModelProperty("申请资质的图片链接")
    private String applyQualificationImgsUrl;

    /*@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Date CreateTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("修改时间")
    private Date UpdateTime;*/
}
